<%@page contentType="text/html; charset=UTF-8" %>
<%
try {

	session.removeAttribute("userid");
	session.removeAttribute("UserName");
	session.removeAttribute("c_admin");
	session.removeAttribute("c_type");
	session.removeAttribute("login");

	Cookie sName2=new Cookie("sName","");  
	sName2.setMaxAge(0); // 
	sName2.setPath("/");
	//sName2.setDomain("www."); 
	response.addCookie(sName2);


	Cookie sNick=new Cookie("sNick","");  
	sNick.setMaxAge(0); //
	sNick.setPath("/");
	//sNick.setDomain(".com"); 
	response.addCookie(sNick);

	
	response.sendRedirect("../index.jsp");	

} catch (Exception e){
   System.out.println("Exception :" + e);
}


%>

